[hvm] Keep track of time offset between domain time and dom0 time.
authorChristian Limpach <Christian.Limpach@xensource.com>
Tue, 3 Apr 2007 12:22:37 +0000 (13:22 +0100)
committerChristian Limpach <Christian.Limpach@xensource.com>
Tue, 3 Apr 2007 12:22:37 +0000 (13:22 +0100)
commit2bdbd3e1939805676f7b025a58d23cea942fe042
tree4f4b89a44dcfb432dc4313f6fe1692f51ad50822
parent9423a78d7fb9a3f9cab740a88e6ec74b6275e76b
[hvm] Keep track of time offset between domain time and dom0 time.
On each rtc time update from the hvm domain, we send an ioreq request
to qemu which then updates the time offset xenstore entry.  The time
offset is preserved across reboot and can be set on domain creation
by setting the rtc_timeoffset variable in a config file.

From: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
16 files changed:
tools/examples/xmexample.hvm
tools/ioemu/target-i386-dm/helper2.c
tools/ioemu/vl.c
tools/ioemu/vl.h
tools/ioemu/xenstore.c
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py
tools/python/xen/xm/create.py
xen/arch/x86/hvm/intercept.c
xen/arch/x86/hvm/platform.c
xen/arch/x86/hvm/rtc.c
xen/arch/x86/time.c
xen/include/asm-x86/hvm/io.h
xen/include/asm-x86/time.h
xen/include/public/hvm/ioreq.h